package org.laptech.calculator;

import android.widget.ImageView;

import org.laptech.calculator.logic.Talent;

/**
 * Created by rlapin on 27.11.14.
 */
public class TalentImageView extends ImageView{
    private boolean isSelected = false;
    private Talent talent;

    public TalentImageView(MainActivity mainActivity, Talent talent) {
        super(mainActivity);
        this.talent = talent;
    }

    public Talent getTalent() {
        return talent;
    }

    public void setTalent(Talent talent) {
        this.talent = talent;
    }

    @Override
    public boolean isSelected() {
        return isSelected;
    }

    @Override
    public void setSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }
}
